package com.dpp.service.impl;

import com.dpp.context.BaseContext;
import com.dpp.dto.OrderDTO;
import com.dpp.entity.Coupon;
import com.dpp.entity.CouponBook;
import com.dpp.entity.Orders;
import com.dpp.entity.ProductInfo;
import com.dpp.mapper.ProductInfoMapper;
import com.dpp.service.ProductInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductInfoServiceImpl implements ProductInfoService {

    @Autowired
    private ProductInfoMapper productInfoMapper;

    @Override
    public ProductInfo selectByID(Integer productId) {
        return productInfoMapper.selectByID(productId);
    }
}
